

import React, { Component } from 'react';
// import './assets/css/App.css';
import { BrowserRouter as Router, Route, Link } from "react-router-dom";
import Home from './components/Home';
import Pcontent from './components/Pcontent'

class App extends Component {
  render() {
    return (
      <div className="App"> 
        <Router>
          <div>
            <Route exact path="/" component={Home}></Route>
            <Route exact path="/pcontent/:id" component={Pcontent}></Route>
          </div>
        </Router>
      </div>
    );
  }
}

export default App;
